//导入课程目标处理模块
const express = require('express')
const T_exam_target = require('../router_handler/T_exam_target')
const router = express.Router()

// 通过id来查询该课程所有的课程目标
router.get('/exam/T_exam_target/list/:id', T_exam_target.get_target_by_subjectID)
//通过id来查询课程目标
router.get('/exam/T_exam_target/getone/:id', T_exam_target.getT_targetById)
//添加课程目标
router.post('/exam/T_exam_target/add', T_exam_target.create_target)
//删除课程目标
router.delete('/exam/T_exam_targe/delete/:id', T_exam_target.delete_targetById)
//更新课程目标
router.put('/exam/T_exam_targe/update/:id', T_exam_target.update_target)




//导出
module.exports = router